package group.study.controller;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
class IndexController {
    private final Logger LOG = LogManager.getLogger(IndexController.class.getName());

    @RequestMapping("/")
    public String index() {
        LOG.error("当前的时间戳" + System.currentTimeMillis());
        return "forward:/index.htm";
    }
}